1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
3 <META http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
4 <link rel=
"stylesheet" type=
"text/css" href=
"../refdoc.css">
5 <title>Namespace: System.Runtime.Remoting.Messaging
</title>
8 <h2>Namespace: System.Runtime.Remoting.Messaging
</h2>
11 <p> The
<a href=
"../System.Runtime.Remoting.Messaging/System.Runtime.Remoting.Messaging.html">System.Runtime.Remoting.Messaging
</a> namespace contains classes used to create and transmit messages. The remoting infrastructure uses messages to communicate with remote objects. Messages are used to transmit remote method calls, to activate remote objects, and to communicate information. A message object carries a set of named properties, including action identifiers, envoy information, and parameters. Some of the most important classes of the
<a href=
"../System.Runtime.Remoting.Messaging/System.Runtime.Remoting.Messaging.html">System.Runtime.Remoting.Messaging
</a> namespace are the
<a href=
"../System.Runtime.Remoting.Messaging/types/AsyncResult.html">AsyncResult
</a> class, the
<a href=
"../System.Runtime.Remoting.Messaging/types/RemotingSurrogateSelector.html">RemotingSurrogateSelector
</a> class, and the
<a href=
"../System.Runtime.Remoting.Messaging/types/ReturnMessage.html">ReturnMessage
</a> class.
</p>
12 <p> The
<a href=
"../System.Runtime.Remoting.Messaging/types/AsyncResult.html">AsyncResult
</a> class stores and returns the results of an asynchronous method call.
<a href=
"../System.Runtime.Remoting.Messaging/types/AsyncResult.html">AsyncResult
</a> instances contain the value, call status, the delegate used for the call, and the other information about the asynchronous method call.
</p>
13 <p> The
<a href=
"../System.Runtime.Remoting.Messaging/types/RemotingSurrogateSelector.html">RemotingSurrogateSelector
</a> class can be used to control serialization of objects that extend
<a href=
"../System/types/MarshalByRefObject.html">MarshalByRefObject
</a>. A
<a href=
"../System.Runtime.Remoting.Messaging/types/RemotingSurrogateSelector.html">RemotingSurrogateSelector
</a> selects the surrogate used in serialization and deserialization of such objects. A surrogate is an object that can control serialization or deserialization of an object.
</p>
14 <p> The
<a href=
"../System.Runtime.Remoting.Messaging/types/ReturnMessage.html">ReturnMessage
</a> class holds information returned after a remote method call. A
<a href=
"../System.Runtime.Remoting.Messaging/types/ReturnMessage.html">ReturnMessage
</a> holds the value and any or parameters that resulted from the remote method call.
</p>
17 <h3>Members of System.Runtime.Remoting.Messaging Namespace
</h3><b>Classes
</b><dl>
19 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
21 <th bgcolor=
"#C0C0C0">Class
</th>
22 <th bgcolor=
"#C0C0C0">
27 <td width=
"30%"><a href=
"types/AsyncResult.html">class AsyncResult
</a></td>
28 <td width=
"60%"> Encapsulates the results of an asynchronous operation on an asynchronous delegate.
32 <td width=
"30%"><a href=
"types/CallContext.html">class CallContext
</a></td>
33 <td width=
"60%"> Provides a set of properties that are carried with the execution code path. This class cannot be inherited.
37 <td width=
"30%"><a href=
"types/ConstructionCall.html">class ConstructionCall
</a></td>
39 This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
40 </i><br><br> Reserved class, for internal use only.
44 <td width=
"30%"><a href=
"types/ConstructionResponse.html">class ConstructionResponse
</a></td>
46 This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
47 </i><br><br> Reserved class, for internal use only.
51 <td width=
"30%"><a href=
"types/Header.html">class Header
</a></td>
52 <td width=
"60%"> Defines the out-of-band data for a call.
56 <td width=
"30%"><a href=
"types/InternalMessageWrapper.html">class InternalMessageWrapper
</a></td>
58 This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
59 </i><br><br> Reserved class, for internal use only.
63 <td width=
"30%"><a href=
"types/LogicalCallContext.html">class LogicalCallContext
</a></td>
64 <td width=
"60%"> Provides a set of properties that are carried with the execution code path during remote method calls.
68 <td width=
"30%"><a href=
"types/MethodCall.html">class MethodCall
</a></td>
70 This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
71 </i><br><br> Reserved class, for internal use only.
75 <td width=
"30%"><a href=
"types/MethodCallMessageWrapper.html">class MethodCallMessageWrapper
</a></td>
77 This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
78 </i><br><br> Reserved class, for internal use only.
82 <td width=
"30%"><a href=
"types/MethodResponse.html">class MethodResponse
</a></td>
84 This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
85 </i><br><br> Reserved class, for internal use only.
89 <td width=
"30%"><a href=
"types/MethodReturnMessageWrapper.html">class MethodReturnMessageWrapper
</a></td>
91 This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
92 </i><br><br> Reserved class, for internal use only.
96 <td width=
"30%"><a href=
"types/OneWayAttribute.html">class OneWayAttribute
</a></td>
97 <td width=
"60%"> Marks a method as one way, without a return value and or parameters.
101 <td width=
"30%"><a href=
"types/RemotingSurrogateSelector.html">class RemotingSurrogateSelector
</a></td>
102 <td width=
"60%"> Selects the remoting surrogate that can be used to serialize an object that derives from a
<a href=
"../System/types/MarshalByRefObject.html">MarshalByRefObject
</a>.
106 <td width=
"30%"><a href=
"types/ReturnMessage.html">class ReturnMessage
</a></td>
107 <td width=
"60%"> Holds a message returned in response to a method call on a remote object.
112 </dl><br><b>Interfaces
</b><dl>
114 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
116 <th bgcolor=
"#C0C0C0">Interface
</th>
117 <th bgcolor=
"#C0C0C0">
122 <td width=
"30%"><a href=
"types/ILogicalThreadAffinative.html">interface ILogicalThreadAffinative
</a></td>
123 <td width=
"60%"> Marks an object that can propagate outside of an
<a href=
"../System/types/AppDomain.html">AppDomain
</a> in a
<a href=
"../System.Runtime.Remoting.Messaging/types/LogicalCallContext.html">LogicalCallContext
</a>.
127 <td width=
"30%"><a href=
"types/IMessage.html">interface IMessage
</a></td>
128 <td width=
"60%"> Contains communication data sent between cooperating message sinks.
132 <td width=
"30%"><a href=
"types/IMessageCtrl.html">interface IMessageCtrl
</a></td>
133 <td width=
"60%"> Provides a way to control asynchronous messages after they have dispatched using the
<a href=
"#AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessageSink)">IMessageSink.AsyncProcessMessage
</a>.
137 <td width=
"30%"><a href=
"types/IMessageSink.html">interface IMessageSink
</a></td>
138 <td width=
"60%"> Defines the interface for a message sink.
142 <td width=
"30%"><a href=
"types/IMethodCallMessage.html">interface IMethodCallMessage
</a></td>
143 <td width=
"60%"> Defines the method call message interface.
147 <td width=
"30%"><a href=
"types/IMethodMessage.html">interface IMethodMessage
</a></td>
148 <td width=
"60%"> Defines the method message interface.
152 <td width=
"30%"><a href=
"types/IMethodReturnMessage.html">interface IMethodReturnMessage
</a></td>
153 <td width=
"60%"> Defines the method call return message interface.
157 <td width=
"30%"><a href=
"types/IRemotingFormatter.html">interface IRemotingFormatter
</a></td>
158 <td width=
"60%"> Provides the remote procedure call (RPC) interface for all formatters.
163 </dl><br><b>Delegates
</b><dl>
165 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
167 <th bgcolor=
"#C0C0C0">Delegate
</th>
168 <th bgcolor=
"#C0C0C0">
173 <td width=
"30%"><a href=
"types/HeaderHandler.html">delegate HeaderHandler
</a></td>
174 <td width=
"60%"> Represents the method that will handle processing of headers on the stream during deserialization.
178 <td width=
"30%"><a href=
"types/MessageSurrogateFilter.html">delegate MessageSurrogateFilter
</a></td>
179 <td width=
"60%"> Reserved class, for internal use only.
184 </dl><br><b>Namepace hierarchy
</b><br><ul class=
"none">
185 <li><a href=
"../System/types/Object.html">System.Object
</a></li>
187 <li><a href=
"../System/types/Attribute.html">System.Attribute
</a></li>
189 <li><a href=
"../System.Runtime.Remoting.Messaging/types/OneWayAttribute.html">System.Runtime.Remoting.Messaging.OneWayAttribute
</a></li>
193 <li><a href=
"../System/types/Delegate.html">System.Delegate
</a></li>
195 <li><a href=
"../System/types/MulticastDelegate.html">System.MulticastDelegate
</a></li>
197 <li><a href=
"../System.Runtime.Remoting.Messaging/types/HeaderHandler.html">System.Runtime.Remoting.Messaging.HeaderHandler
</a></li>
202 <li><a href=
"../System.Runtime.Remoting.Messaging/types/AsyncResult.html">System.Runtime.Remoting.Messaging.AsyncResult
</a> ---
<a href=
"../System/types/IAsyncResult.html">System.IAsyncResult
</a>,
<a href=
"../System.Runtime.Remoting.Messaging/types/IMessageSink.html">System.Runtime.Remoting.Messaging.IMessageSink
</a></li>
205 <li><a href=
"../System.Runtime.Remoting.Messaging/types/CallContext.html">System.Runtime.Remoting.Messaging.CallContext
</a></li>
208 <li><a href=
"../System.Runtime.Remoting.Messaging/types/Header.html">System.Runtime.Remoting.Messaging.Header
</a></li>
211 <li><a href=
"../System.Runtime.Remoting.Messaging/types/LogicalCallContext.html">System.Runtime.Remoting.Messaging.LogicalCallContext
</a> ---
<a href=
"../System.Runtime.Serialization/types/ISerializable.html">System.Runtime.Serialization.ISerializable
</a>,
<a href=
"../System/types/ICloneable.html">System.ICloneable
</a></li>
214 <li><a href=
"../System.Runtime.Remoting.Messaging/types/RemotingSurrogateSelector.html">System.Runtime.Remoting.Messaging.RemotingSurrogateSelector
</a> ---
<a href=
"../System.Runtime.Serialization/types/ISurrogateSelector.html">System.Runtime.Serialization.ISurrogateSelector
</a></li>
217 <li><a href=
"../System.Runtime.Remoting.Messaging/types/ReturnMessage.html">System.Runtime.Remoting.Messaging.ReturnMessage
</a> ---
<a href=
"../System.Runtime.Remoting.Messaging/types/IMethodReturnMessage.html">System.Runtime.Remoting.Messaging.IMethodReturnMessage
</a>,
<a href=
"../System.Runtime.Remoting.Messaging/types/IMethodMessage.html">System.Runtime.Remoting.Messaging.IMethodMessage
</a>,
<a href=
"../System.Runtime.Remoting.Messaging/types/IMessage.html">System.Runtime.Remoting.Messaging.IMessage
</a></li>
219 </ul><br><i><a href=
"../documentation_license.txt">
220 Copyright (c)
2002 Microsoft Corporation. All rights reserved.